package com.bw.dao;

import com.bw.bean.Movie;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MovieDao {
    List<Movie> list();
    List<Movie> likeList(@Param("key") String name);
    List<Movie> atuList(@Param("aut") String aut);
    List<Movie> areaList(@Param("start") String start,@Param("end") String end);
    int del(@Param("delId") int id);
}
